package server.resources;

import server.database.DatabaseService;
import server.servlet.AbstractEntityServlet;

public class CranesServlet extends AbstractEntityServlet
{
	private static final long serialVersionUID = -7109552245936739358L;

	public static final String PATH = API + "/cranes";

	public static final String CRANE = "crane";
	public static final String CRANES = "cranes";

	@Override
	protected String getEntityName()
	{
		return CRANE;
	}

	@Override
	protected String getEntitiesName()
	{
		return CRANES;
	}

	@Override
	protected CranesTable getTable()
	{
		return (CranesTable) DatabaseService.getInstance().getTable(CranesTable.TABLE_NAME);
	}

}
